﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;

namespace NCP.Model
{
  public  class LimitTimeNew
    {
        /// <summary>
        /// 药品编码
        /// </summary>
        [SugarColumn(ColumnName = "DrugCode")]
        public string DrugCode { get; set; }

        /// <summary>
        /// 药品名称
        /// </summary>
        [SugarColumn(ColumnName = "DrugName")]
        public string DrugName { get; set; }

        /// <summary>
        /// 限制日期
        /// </summary>
        [SugarColumn(ColumnName = "LimitDate")]
        public string LimitDate { get; set; }

        /// <summary>
        /// 限制日期前多少天
        /// </summary>
        [SugarColumn(ColumnName = "Days")]
        public decimal Days { get; set; } = 0;

        /// <summary>
        /// 药品规格
        /// </summary>
        [SugarColumn(ColumnName = "Specs")]
        public string Specs { get; set; }

        /// <summary>
        /// 药品单价
        /// </summary>
        [SugarColumn(ColumnName = "UnitPrice")]
        public string UnitPrice { get; set; }

        /// <summary>
        /// 药品拼音码
        /// </summary>
        [SugarColumn(ColumnName = "SpellCode")]
        public string SpellCode { get; set; }
     

        /// <summary>
        /// 生产厂家
        /// </summary>
        [SugarColumn(ColumnName = "ProducerName")]
        public string ProducerName { get; set; }
    }
}
